package com.generator.shop.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * <p>
 * 商店信息
 * </p>
 *
 * @author miao
 * @since 2024-01-02
 */
@Data
public class Shop implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.NONE)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 商店名称
     */
    private String name;

    /**
     * 商店地址
     */
    private String adder;

    /**
     * 商店面积
     */
    private Double area;

    /**
     * 商店类型
     */
    private String type;

    /**
     * 月租金
     */
    private BigDecimal rent;

    private Integer turnover;


}
